package com.hkyp.ss.course.web.dto.response;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.hkyp.ss.course.web.dto.base.BaseDTO;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.Size;

/**
 * 简单用户VO
 *
 */
@JsonIgnoreProperties({"hibernateLazyInitializer","handler"})
@Data
public class UserAvatarRequestDTO extends BaseDTO {


    /**
     * 头像
     * 存储头像上传到OSS后返回的url
     */
    @Size(min = 10,max = 700,message = "url长度过长或过短")
    @ApiModelProperty(value = "用户头像")
    private String avatar;



}
